package com.Maykk.Demo04;

/**
 * @ClassName: MyRunnable
 * @Description: TODO
 * @Author: MaykkStar@163.com
 */
public class MyRunnable implements Runnable {
    @Override
    public void run() {
        String[] talks = {
                "蒸羊羔",
                "蒸熊掌",
                "蒸鹿尾儿",
                "烧花鸭",
                "烧雏鸡",
                "烧子鹅",
                "卤猪",
                "卤鸭",
                "酱鸡",
                "腊肉",
                "松花小肚儿"
        };
        for (int i = 0; i < talks.length; i++) {
            System.out.printf("%s说： %s\n", Thread.currentThread().getName(), talks[i]);
        }
    }
}
